import * as VueRouter from 'vue-router'
import MainPage from '../pages/MainPage.vue'
import SettingsPage from '../pages/SettingsPage/SettingsPage.vue'
import tmpPage from '../pages/tmpPage.vue'
import GameListPage from '../pages/GameListPage.vue'
import VoicePage from '../pages/VoicePage.vue'
import ToolPage from '../pages/ToolPage.vue'
const router = VueRouter.createRouter({
  history: VueRouter.createWebHashHistory(),
  routes: [
    {
      name: 'mainpage',
      path: '/',
      component: MainPage,
    },
    {
      name: 'gamelistpage',
      path: '/gamelistpage',
      component: GameListPage,
    },
    {
      name: 'settingsPage',
      path: '/settingsPage',
      component: SettingsPage,
    },
    {
      name: 'tempPage',
      path: '/tmppage',
      component: tmpPage,
    },
    {
      name:'voicePage',
      path: '/voicePage',
      component: VoicePage,
    },
    {
      name:'toolPage',
      path:"/toolpage",
      component:ToolPage,
    }
  ],
})

export default router
